package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class NullPredicate implements Predicate {

    private int beginIndex;
    private int endIndex;
    private RowValuePredicand rowValuePredicand;
    private NullPredicatePart2 nullPredicatePart2;

    public NullPredicate(RowValuePredicand rowValuePredicand, NullPredicatePart2 nullPredicatePart2) {
        this.beginIndex = rowValuePredicand.getBeginIndex();
        this.endIndex = nullPredicatePart2.getEndIndex();
        this.rowValuePredicand = rowValuePredicand;
        this.nullPredicatePart2 = nullPredicatePart2;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public RowValuePredicand getRowValuePredicand() {
        return rowValuePredicand;
    }

    public NullPredicatePart2 getNullPredicatePart2() {
        return nullPredicatePart2;
    }

}
